$webwork.htmlEncode($page.space.name) : How do I set output format for KML
This page last changed on Feb 15, 2006 by cholmes.
Q: How do I set output format for KML?A: Google Earth's network link attaches the current BBOX coordinates, so all you really need to do is add a new network link with an valid WMS GetMap request. 1. Open Google Earth 2. Add --> Network Link Name: Use any name for your network link Refresh Parameters: View-Based refresh When: After camera stops (4 secs) Change &Layers=mykmllayer with a coma separate list of layers to display 3. OK Google Earth will then automatically attach BBOX=x1,y1,x2,y2 to the end of each request. Obviously there are some requirements, such as the SRS is 4326, and the output format is set to whatever the KML handler is. This works for simple WMS PNG output, but I see no reason why this wouldn't work with direct KML output from GeoServer. Additional informationSee: http://chris.narx.net/2006/02/13/geoserver-kml-output/ (if someone could port that to: Google Earth that would be great)
|
![]() |
Document generated by Confluence on Jan 16, 2008 23:27 |